<!-- Person Edit -->
<head>
  <meta name="layout" content="main" />
  <title>Edit Person</title>
</head>
<body>
  <div class="body">
    <h1>Edit Person</h1>
    <g:render template="/common/flashMessage" />
    <g:render template="/common/beanError" model="[bean:person]" />
    <g:form action="save">
      <table>
        <tbody>
          <g:render template="editPerson" />
        </tbody>
      </table>
      <tdcmw:submitFormButton action="update" label="Update" />
      <g:if test="${company}">
        <input type="hidden" name="companyId" value="${company.id}" />
        <input type="hidden" name="returnTo" value="${returnTo}" />
        <tdcmw:submitFormButton action="cancel" label="Cancel" />
      </g:if>
    </g:form>
  </div>
</body>
